Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix image block schema #435

Merged
merged 9 commits into from
Dec 10, 2024
Merged

Fix image block schema #435

merged 9 commits into from
Dec 10, 2024

Conversation

danalvrz
Copy link
Contributor

No description provided.

@danalvrz danalvrz requested a review from sneridagh November 30, 2024 20:30
@@ -0,0 +1 @@
Fix Image block schema @danalvrz
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@danalvrz Can you be more specific? This PR is hard to review because I don't know what you're trying to fix.

Copy link
Contributor Author

@danalvrz danalvrz Dec 9, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@davisagli I just updated it, thanks! With the new widget and image options on VLT 6 there was an issue with undefined properties when nesting an Image in a Grid block. With this change we enhance the Image schema more accurately based on its context.

Copy link
Member

@davisagli davisagli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sneridagh Seems to work ok in my testing. Could you have a look as well?

packages/volto-light-theme/news/435.bugfix Outdated Show resolved Hide resolved
@sneridagh sneridagh merged commit d4e7a71 into main Dec 10, 2024
25 checks passed
@sneridagh sneridagh deleted the fix-image-schema branch December 10, 2024 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants